package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.util.Date;

/**
 * 车友会表 cheyouhui
 * 
 * @author ruoyi
 * @date 2019-07-16
 */
public class Cheyouhui extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 车友会Id */
	@Excel(name = "车友会Id")
	private Integer cheyouhuiId;
	/** 创建人ID */
	private Long personId;
	/** 车友会名称 */
	@Excel(name = "车友会名称")
	private String name;
	/** 车友会会长 */
	@Excel(name = "车友会会长")
	private String huiZhang;
	/** 简介*/
	@Excel(name = "简介")
	private String jianJie;
	/**车友会会员数量**/
	private Integer number;
	/** 状态 */
	@Excel(name = "状态",readConverterExp = "0=正常,1=停用")
	private String status;
	/** 创建时间 */
	@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date createTime;
	/** 修改时间 */
	@Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date updateTime;
	/** 扩展字段 */
	@Excel(name = "扩展字段")
	private String attribute;
	//标示
	private boolean flag = false;

	public void setCheyouhuiId(Integer cheyouhuiId)
	{
		this.cheyouhuiId = cheyouhuiId;
	}

	public Integer getCheyouhuiId()
	{
		return cheyouhuiId;
	}
	public void setPersonId(Long personId)
	{
		this.personId = personId;
	}

	public Long getPersonId()
	{
		return personId;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setHuiZhang(String huiZhang) 
	{
		this.huiZhang = huiZhang;
	}

	public String getHuiZhang() 
	{
		return huiZhang;
	}
	public void setJianJie(String jianJie) 
	{
		this.jianJie = jianJie;
	}

	public String getJianJie() 
	{
		return jianJie;
	}
	public void setStatus(String status)
	{
		this.status = status;
	}

	public String getStatus()
	{
		return status;
	}

	public void setAttribute(String attribute) 
	{
		this.attribute = attribute;
	}

	public String getAttribute() 
	{
		return attribute;
	}
	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cheyouhuiId", getCheyouhuiId())
            .append("personId", getPersonId())
            .append("name", getName())
            .append("huiZhang", getHuiZhang())
            .append("jianJie", getJianJie())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("attribute", getAttribute())
            .toString();
    }


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public boolean isFlag() {
		return flag;
	}

	public void setFlag(boolean flag) {
		this.flag = flag;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}
}
